package com.color.admin.system.entity.vo.menu;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author HaiQiu
 * @date 2022/1/11
 * 树形菜单结构实体
 */
public class MenuTreeVo extends MenuSmallVo implements Serializable {

    private String parentId;

    private Integer sort;

    private Boolean active;

    private List<MenuTreeVo> children = new ArrayList<>();

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<MenuTreeVo> getChildren() {
        return children;
    }

    public void setChildren(List<MenuTreeVo> children) {
        this.children = children;
    }

    public Boolean getActive() {
        return active;
    }

    public void setActive(Boolean active) {
        this.active = active;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
